package com.common.exception.order;

import com.common.exception.GlobalException;

public class OrderException extends GlobalException {

    public static final String DEFAULT_MESSAGE = "订单异常";
    // 存在未支付订单
    public static final String ORDER_EXIST = "存在未支付订单";
    public static final String ORDER_NOT_EXIST = "订单不存在";
    // 您已购买过当前课程
    public static final String ORDER_EXIST_CURRENT_COURSE = "您已购买过当前课程";
    // 订单状态不符或有误
    public static final String ORDER_STATUS_ERROR = "订单状态不符或有误";
    public static final String ORDER_TIME_OUT = "订单已过期";
    public static final String ORDER_REFUND_FAILED = "订单退款异常";
    public static final String ORDER_REFUND_FAIL = "订单退款失败";


    public OrderException() {
        super();
    }
    public OrderException(String message) {
        super(message);
    }
}
